Optimal lighting with AI